console.log(666);
type a = {
  name:string,
  age?:number,
  [key:string]:any
}
type b = {
  address:string,
  mail:string
}
type c = a & b

let address:c = {
  name:"FirstCode",
  age:18,
  address:"string",
  mail:"asd"
}

console.log(address);
